package com.liguang.rcs.admin.db.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@Table(name = "dodms_driver")
@Entity
@EqualsAndHashCode(callSuper = true)
public class DodmsDriverEntity extends AbstractEntity {
    /**
     * 个人信息
     */
    @Column(name = "name")
    private String name; //司机名字
    @Column(name = "gender")
    private String gender; //司机性别
    @Column(name = "birthday")
    private Timestamp birthday;// 司机出生年月
    @Column(name = "nation")
    private String nation; //司机名族
    @Column(name = "age")
    private String age; //司机年龄
    @Column(name = "address")
    private String address; //司机住址
    @Column(name = "photo_base64")
    private String photoBase64;//照片的base64结果
    @Column(name = "tel")
    private String tel; //手机号码

    /**
     *
     */
    @Column(name = "company")
    private String company; //所属公司
    @Column(name = "driver_license")
    private String driverLicense;//驾驶证号
    @Column(name = "traffic_police")
    private String trafficPolice; //所属交通大队
    @Column(name = "certificate_no")
    private String certificateNo; //合格证号
    @Column(name = "certificate_date")
    private Timestamp certificateDate; //发证日期
    @Column(name = "theory_examination_time")
    private Timestamp theoryExaminationTime; //理论考试时间
    @Column(name = "theory_result")
    private String theoryResult; //理论考试结果
    @Column(name = "resit_theory_examination_time")
    private Timestamp resitTheoryExaminationTime;// 理论补考时间
    @Column(name = "resit_theory_result")
    private String resitTheoryResult; //理论补考结果

    @Column(name = "skill_examination_time")
    private Timestamp skillExaminationTime; //技能考试时间
    @Column(name = "skillResult")
    private String skillResult; //技能考试结果
    @Column(name = "resit_skill_examination_time")
    private Timestamp resitSkillExaminationTime; //技能补考时间
    @Column(name = "resit_skill_result")
    private String resitSkillResult; //技能补考结果
    @Column(name = "remark")
    private String remark; //备注

}
